package com.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dao.ImgtabDao;
import com.dto.BankImg;
import com.dto.Imgtab;
import com.service.ImgtabService;
@Service
public class ImgtabServiceImpl implements ImgtabService {
	@Autowired
	private ImgtabDao imgdao;
	
	//添加图片
	@Override
	public int addImgtab(Imgtab mgtab) {
		int x = imgdao.addImgtab(mgtab);
		return x;
	}
	
	//添加流水图片
	@Override
	public int addBankImgpic(BankImg bank) {
		int a=imgdao.addBankImgpic(bank);
		return a;
	}

}
